package decorator;
/**
 * 额外的要求，也就是指的是颜色,然后我们定一个一个颜色的类去继承这个抽象类
 * @author zj
 *
 */
public abstract class Extra implements Draw{
	 protected Draw draw;
	 
	   public Extra(Draw draw){
	      this.draw = draw;
	   }
	 
	   public void draw(){
	      draw.draw();
	   }  
}
